package com.bwie.service;

import com.bwie.pojo.TbProd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbProdAtta;
import com.bwie.utils.Result;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.ProdPageVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author lenovo
 * @description 针对表【tb_prod(商品表)】的数据库操作Service
 * @createDate 2025-06-20 15:27:23
 */
public interface TbProdService extends IService<TbProd> {

    Result getProdList(ProdPageVo prodPageVo);

    Result addProd(TbProd tbProd);

    Result uploadFile(MultipartFile file);

    Result addProdAtta(TbProdAtta tbProdAtta);

    Result deleteBatchProd(List<Integer> ids);

    Result deleteProd(Integer prodId);
}
